package pig.model;

public class BoardVO {
	private int no; // 게시물번호
	private String title; // 제목
	private String writer; // 작성자
	private String content; // 내용
	private String writeDate; //작성일
	private int viewCount; // 조회수
	private String dealNumber; // 상품번호
	private int ref; //참조번호
	private int restep; // 참조 재번호
	private int relevel; // 참조단계
	
	public BoardVO() {
		super();
	}
	
	public BoardVO(int no, String title, String writer, String dealNumber,
			String content, String writeDate, int viewCount, int ref,
			int restep, int relevel) {
		super();
		this.no = no;
		this.title = title;
		this.writer = writer;
		this.dealNumber = dealNumber;
		this.content = content;
		this.writeDate = writeDate;
		this.viewCount = viewCount;
		this.ref = ref;
		this.restep = restep;
		this.relevel = relevel;
	}
	
	public int getNo() {
		return no;
	}
	
	public void setNo(int no) {
		this.no = no;
	}
	
	public String getTitle() {
		return title;
	}
	
	public void setTitle(String title) {
		this.title = title;
	}
	
	public String getWriter() {
		return writer;
	}
	
	public void setWriter(String writer) {
		this.writer = writer;
	}
	
	public String getdealNumber() {
		return dealNumber;
	}
	
	public void setdealNumber(String dealNumber) {
		this.dealNumber = dealNumber;
	}
	
	public String getContent() {
		return content;
	}
	
	public void setContent(String content) {
		this.content = content;
	}
	
	public String getWriteDate() {
		return writeDate;
	}
	
	public void setWriteDate(String writeDate) {
		this.writeDate = writeDate;
	}
	
	public int getViewCount() {
		return viewCount;
	}
	
	public void setViewCount(int viewCount) {
		this.viewCount = viewCount;
	}
	
	public int getRef() {
		return ref;
	}
	
	public void setRef(int ref) {
		this.ref = ref;
	}
	
	public int getRestep() {
		return restep;
	}
	
	public void setRestep(int restep) {
		this.restep = restep;
	}
	
	public int getrelevel() {
		return relevel;
	}
	
	public void setrelevel(int relevel) {
		this.relevel = relevel;
	}
	
	@Override
	public String toString() {
		return "BoardVO [no=" + no + ", title=" + title + ", writer=" + writer
				+ ", dealNumber=" + dealNumber + ", content=" + content
				+ ", writeDate=" + writeDate + ", viewCount=" + viewCount
				+ ", ref=" + ref + ", restep=" + restep + ", relevel="
				+ relevel + "]";
	}
}
